package com.scm.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Modelcolor entity. @author MyEclipse Persistence Tools
 */

public class Modelcolor implements java.io.Serializable {

	// Fields

	private Integer colorId;
	private Modeldictionary modeldictionary=new Modeldictionary();
	private String colorName;
	private Set vehicles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Modelcolor() {
	}

	/** minimal constructor */
	public Modelcolor(Modeldictionary modeldictionary, String colorName) {
		this.modeldictionary = modeldictionary;
		this.colorName = colorName;
	}

	/** full constructor */
	public Modelcolor(Modeldictionary modeldictionary, String colorName,
			Set vehicles) {
		this.modeldictionary = modeldictionary;
		this.colorName = colorName;
		this.vehicles = vehicles;
	}

	// Property accessors

	public Integer getColorId() {
		return this.colorId;
	}

	public void setColorId(Integer colorId) {
		this.colorId = colorId;
	}

	public Modeldictionary getModeldictionary() {
		return this.modeldictionary;
	}

	public void setModeldictionary(Modeldictionary modeldictionary) {
		this.modeldictionary = modeldictionary;
	}

	public String getColorName() {
		return this.colorName;
	}

	public void setColorName(String colorName) {
		this.colorName = colorName;
	}

	public Set getVehicles() {
		return this.vehicles;
	}

	public void setVehicles(Set vehicles) {
		this.vehicles = vehicles;
	}

}